<?php
    require_once('../code/global.php');
    require_once('/code/SiteInfo.php');
    $siteInfo=new SiteInfo();
    $s=$siteInfo->getContact();
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <meta name="description" content="<?php echo $s['meta_keyword'] ?>" />  
        <meta name="keyword" content="<?php echo $s['meta_description'] ?>" />
        <title>Contact Us | <?php echo $s['site_name'] ?></title>
        <link rel="shortcut icon" href="/styles/images/icon.ico" type="image/x-icon" />
        <link rel="stylesheet" href="/styles/styles.css" />
        <script type="text/javascript" src="/script/emailVali.js"></script>
    </head>
    <body>
        <div id="container">
            <div id="stripe"></div>
            <a href="/" title="<?php echo $s['site_name'] ?>"><div id="header">
            </div></a>
            <div id="menu">
                <ul><li><a href="/gallery">Gallery</a></li><li class="seperator">|</li><li><a href="/news">News</a></li><li class="seperator">|</li><li><a href="/about">About us</a></li><li class="seperator">|</li><li class="current">Contact us</li></ul>
            </div>
            <div id="content">
                <div id="leftmenu">
                    <ul>
                        <li id="selected"><a>Contact Us</a></li>
                    </ul>
                </div>
                <div id="rightpanel">
                    <img src="/styles/images/email.png">
                    <h1>Contact Us</h1>
                    <h2>Send us an email:</h2>
                    <div id="emailDiv">
                        <form id="sendEmail" name="sendEmail" method="post" action="../admin/exec.php">
                        <input name="action" type="hidden" value="sendEmail">
                        <span class="emailtag">Your name:<span class="warning">*</span></span><input type="text" name="name" id="name"><br />
                        <span class="emailtag">Your email address:<span class="warning">*</span></span><input type="text" name="email" id="email"><br />
                        <span class="emailtag">Your message:<span class="warning">*</span></span><textarea name="message" id="message"></textarea><br />
                        <span class="emailtag"></span><input type="submit" name="btnSend" id="btnSend" onclick="return emailVali()" value="Send Email">
                        </form>
                    </div>
                    <div id="stripe"></div><br />
                    <h2>Or, you can email us at: <!--<a href="mailto:<?php echo $s['contact_email'] ?>">--><?php echo $s['contact_email'] ?><!--</a>--></h2>
                    <h2>You can find us at:</h2>
                    <?php echo nl2br($s['address']) ?>
                </div>
            </div>
            <div id="stripe"></div>
            <div id="footer">
                &copy; <?php echo $s['site_name'] ?> All rights reserved.
                <ul><li><a href="/about/terms-conditions">Terms & Conditions</a></li><li>|</li><li><a href="/about">About us</a></li><li>|</li><li><a href="/contact">Contact us</a></li><ul>
            </div>
            <div id="stripe"></div>  
        </div>
    </body>
</html>
